import request from '@/utils/request'

// 查询会员收藏列表
export function listAppTravelCollect(query) {
  return request({
    url: '/app/appTravelCollect/list',
    method: 'get',
    params: query
  })
}

// 查询会员收藏详细
export function getAppTravelCollect(id) {
  return request({
    url: '/app/appTravelCollect/' + id,
    method: 'get'
  })
}

// 新增会员收藏
export function addAppTravelCollect(data) {
  return request({
    url: '/app/appTravelCollect',
    method: 'post',
    data: data
  })
}

// 修改会员收藏
export function updateAppTravelCollect(data) {
  return request({
    url: '/app/appTravelCollect',
    method: 'put',
    data: data
  })
}

// 删除会员收藏
export function delAppTravelCollect(id) {
  return request({
    url: '/app/appTravelCollect/' + id,
    method: 'delete'
  })
}
